<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.10.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: Parser: Class TParser</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TParser"></a><h1 class="cio">Class TParser</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#@Description">Description</a></td><td><a class="section"  href="#@Hierarchy">Hierarchy</a></td><td><a class="section"  href="#@Fields">Fields</a></td><td><a class="section"  href="#@Methods">Methods</a></td><td><a class="section"  href="#@Properties">Properties</a></td></tr></table>
<a name="@Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="Parser.html">Parser</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TParser = class(TObject)</code></p>
<h2 class="description">Description</h2>
<p>
TParser is a container for a <a class="normal"  href="VarList.TVarList.html">TVarList</a>, <a class="normal"  href="FuncList.TFuncList.html">TFuncList</a> and <a class="normal"  href="InstructionList.TInstructionList.html">TInstructionList</a> instance and can pass an expression string to its instruction list for evaluation.</p>
<a name="@Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TParser</li></ul><h2 class="overview">Overview</h2>
<a name="@Fields"></a><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="Parser.TParser.html#FEquationInput">FEquationInput</a></b>:String;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="Parser.TParser.html#FEquation">FEquation</a></b>:String;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="Parser.TParser.html#FEqParsed">FEqParsed</a></b>:Boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="Parser.TParser.html#Instructions">Instructions</a></b>:<a   href="InstructionList.TInstructionList.html">TInstructionList</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="Parser.TParser.html#FHideInvisBraces">FHideInvisBraces</a></b>: Boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="Parser.TParser.html#Vars">Vars</a></b>:<a   href="VarList.TVarList.html">TVarList</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="Parser.TParser.html#Funcs">Funcs</a></b>:<a   href="FuncList.TFuncList.html">TFuncList</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="Parser.TParser.html#OnMsgSend">OnMsgSend</a></b>:<a   href="Parser.html#TSendMessageEvent">TSendMessageEvent</a>;</code></td>
</tr>
</table>
<a name="@Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="Parser.TParser.html#SetEquation">SetEquation</a></b>(const Value: String);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <b><a   href="Parser.TParser.html#GetEquation">GetEquation</a></b>:String;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="Parser.TParser.html#Create">Create</a></b>(pOwnerFuncs: <a   href="FuncList.TFuncList.html">TFuncList</a> = nil); reintroduce;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="Parser.TParser.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="Parser.TParser.html#Report">Report</a></b>: string;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="Parser.TParser.html#FuncX">FuncX</a></b>(X: <a   href="ResConst.html#TFloat">TFloat</a>): <a   href="ResConst.html#TFloat">TFloat</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="Parser.TParser.html#MsgOut">MsgOut</a></b>(Msg: string; MsgType: <a   href="ParseConst.html#TMsgType">TMsgType</a>);</code></td>
</tr>
</table>
<a name="@Properties"></a><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="Parser.TParser.html#EquationParsed">EquationParsed</a></b>: Boolean read <a   href="Parser.TParser.html#FEqParsed">FEqParsed</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="Parser.TParser.html#Equation">Equation</a></b>: string read <a   href="Parser.TParser.html#GetEquation">GetEquation</a> write <a   href="Parser.TParser.html#SetEquation">SetEquation</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="Parser.TParser.html#HideInvisBraces">HideInvisBraces</a></b>: Boolean read <a   href="Parser.TParser.html#FHideInvisBraces">FHideInvisBraces</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FEquationInput"></a><code><b>FEquationInput</b>:String;</code></td>
</tr>
<tr><td colspan="2">
<p>
Contains user input</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FEquation"></a><code><b>FEquation</b>:String;</code></td>
</tr>
<tr><td colspan="2">
<p>
Contains expression returned after execution of ParseExpression</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FEqParsed"></a><code><b>FEqParsed</b>:Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Status of last equation evaluation</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="Instructions"></a><code><b>Instructions</b>:<a   href="InstructionList.TInstructionList.html">TInstructionList</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Main instruction list of equation</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FHideInvisBraces"></a><code><b>FHideInvisBraces</b>: Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Hide braces, which control operator precedence </p>
<h6 class="description_section">See also</h6>
<dl class="see_also">
  <dt><a class="normal"  href="Instruction.TInvisBraceRef.html">TInvisBraceRef</a></dt>
  <dd>This class is almost identical to <a class="normal"  href="Instruction.TBraceRef.html">TBraceRef</a>, but it is only used by <a class="normal"  href="InstructionList.TInstructionList.html#OpSort">InstructionList.TInstructionList.OpSort</a> to control the operator precedence.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Vars"></a><code><b>Vars</b>:<a   href="VarList.TVarList.html">TVarList</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
List of variables, which are used in Instructions</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Funcs"></a><code><b>Funcs</b>:<a   href="FuncList.TFuncList.html">TFuncList</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Predefined functions, which can be used in Instructions</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="OnMsgSend"></a><code><b>OnMsgSend</b>:<a   href="Parser.html#TSendMessageEvent">TSendMessageEvent</a>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="SetEquation"></a><code>procedure <b>SetEquation</b>(const Value: String);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="GetEquation"></a><code>function <b>GetEquation</b>:String;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(pOwnerFuncs: <a   href="FuncList.TFuncList.html">TFuncList</a> = nil); reintroduce;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Report"></a><code>function <b>Report</b>: string;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FuncX"></a><code>function <b>FuncX</b>(X: <a   href="ResConst.html#TFloat">TFloat</a>): <a   href="ResConst.html#TFloat">TFloat</a>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="MsgOut"></a><code>procedure <b>MsgOut</b>(Msg: string; MsgType: <a   href="ParseConst.html#TMsgType">TMsgType</a>);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="EquationParsed"></a><code>property <b>EquationParsed</b>: Boolean read <a   href="Parser.TParser.html#FEqParsed">FEqParsed</a>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Equation"></a><code>property <b>Equation</b>: string read <a   href="Parser.TParser.html#GetEquation">GetEquation</a> write <a   href="Parser.TParser.html#SetEquation">SetEquation</a>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="HideInvisBraces"></a><code>property <b>HideInvisBraces</b>: Boolean read <a   href="Parser.TParser.html#FHideInvisBraces">FHideInvisBraces</a>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.10.0</a> on 2007-09-13 21:24:25</em>
</span>
</body></html>
